home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HyperLib 1997 Winter - Disc 1
/
HYPERLIB-1997-Winter-CD1.ISO.7z
/
HYPERLIB-1997-Winter-CD1.ISO
/
オンラインウェア
/
BUS
/
BibTeX 1.06 FAT.sit
/
BibTeX ƒ
/
Source code
/
StdPrefsLib
/
DebugUtils.h
< prev
next >
Wrap
Text File
|
1994-03-17
|
956b
|
48 lines
/*
File: DebugUtils.h
Contains: Helpful debugging macros.
Written by: Jim Reekes
Copyright: ゥ 1993-94 by Apple Computer, Inc.
Change History (most recent first):
*/
//-----------------------------------------------------------------------
#ifndef _DEBUGUTILS_
#define _DEBUGUTILS_
#include <Types.h>
#include "CompileFlags.h"
//-----------------------------------------------------------------------
// Macros
#ifdef DEBUG_IT
#define FailMessage(cond, s) ¥
if (cond) { ¥
DebugStr ((ConstStr255Param)"¥p"#s); ¥
}
#else
#define FailMessage(cond, s) ¥
((void) 0)
#endif DEBUG_IT
#ifdef DEBUG_IT
#define DebugMessage(s) DebugStr ((ConstStr255Param)"¥p"#s)
#else
#define DebugMessage(s) ((void) 0)
#endif DEBUG_IT
//-----------------------------------------------------------------------
#endif _DEBUGUTILS_
//-----------------------------------------------------------------------